﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Keeyo.DataHelper;

namespace Test
{
    public class HTMLEntity : Entity
    {
        [Updatable(false)]
        public Guid ID { get; set; }

        public string Url { get; set; }

        [NameInDatabase("Content")]
        public string Content1 { get; set; }

        public DataType? DataType { get; set; }

        [NameInDatabase("BrandID")]
        public BrandEntity Brand { get; set; }
    }

    public class MMXEntiy : Entity
    {
        [Updatable(false)]
        public Guid ID { get; set; }
    }

    public enum DataType
    {
        a = 0,
        b = 1,
        c = 2
    }
}
